
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>行为树组件 BehaviorTree · behavior-dog</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="Zemin Liu">
        
        
    
    <link rel="stylesheet" href="../../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-flexible-alerts/style.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="component.html" />
    
    
    <link rel="prev" href="btprop.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../../">
            
                <a href="../../../">
            
                    
                    CocosCreator 行为树•状态机编辑器
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.1" data-path="../../intro/">
            
                <a href="../../intro/">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2" data-path="../../preparation/">
            
                <a href="../../preparation/">
            
                    
                    准备工作
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.2.1" data-path="../../preparation/cocosversion.html">
            
                <a href="../../preparation/cocosversion.html">
            
                    
                    CocosCreator 版本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2.2" data-path="../../preparation/globalextension.html">
            
                <a href="../../preparation/globalextension.html">
            
                    
                    全局插件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.3" data-path="../../tempscene/">
            
                <a href="../../tempscene/">
            
                    
                    * 临时场景
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4" data-path="../../quickstart/">
            
                <a href="../../quickstart/">
            
                    
                    快速入门：从零开始搭建一个行为树
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.1" data-path="../../quickstart/">
            
                <a href="../../quickstart/#创建行为树">
            
                    
                    创建行为树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2" data-path="../../quickstart/">
            
                <a href="../../quickstart/#编辑行为树">
            
                    
                    编辑行为树
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.2.1" data-path="../../quickstart/">
            
                <a href="../../quickstart/#打开编辑器">
            
                    
                    打开编辑器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.2" data-path="../../quickstart/">
            
                <a href="../../quickstart/#打开行为树">
            
                    
                    打开行为树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.3" data-path="../../quickstart/">
            
                <a href="../../quickstart/#第一个任务">
            
                    
                    第一个任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.4" data-path="../../quickstart/">
            
                <a href="../../quickstart/#第二个任务：捕获按钮的点击事件">
            
                    
                    第二个任务：捕获按钮的点击事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.5" data-path="../../quickstart/">
            
                <a href="../../quickstart/#第三个任务：旋转任务">
            
                    
                    第三个任务：旋转任务
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.2.5.1" data-path="../../quickstart/">
            
                <a href="../../quickstart/#注册任务">
            
                    
                    注册任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.5.2" data-path="../../quickstart/">
            
                <a href="../../quickstart/#添加属性">
            
                    
                    添加属性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.5.3" data-path="../../quickstart/">
            
                <a href="../../quickstart/#添加方法">
            
                    
                    添加方法
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.2.5.3.1" data-path="../../quickstart/">
            
                <a href="../../quickstart/#生命周期">
            
                    
                    生命周期
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.5.3.2" data-path="../../quickstart/">
            
                <a href="../../quickstart/#真・添加方法">
            
                    
                    真・添加方法
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.5.4" data-path="../../quickstart/">
            
                <a href="../../quickstart/#完整任务脚本">
            
                    
                    完整任务脚本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.5.5" data-path="../../quickstart/">
            
                <a href="../../quickstart/#解决错误">
            
                    
                    解决错误
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.4.3" data-path="../../quickstart/">
            
                <a href="../../quickstart/#预览">
            
                    
                    预览
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.3.1" data-path="../../quickstart/">
            
                <a href="../../quickstart/#第一次预览">
            
                    
                    第一次预览
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.3.2" data-path="../../quickstart/">
            
                <a href="../../quickstart/#第二次预览">
            
                    
                    第二次预览
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.3.3" data-path="../../quickstart/">
            
                <a href="../../quickstart/#运行时调试">
            
                    
                    运行时调试
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.4.4" data-path="../../quickstart/">
            
                <a href="../../quickstart/#继续编辑行为树">
            
                    
                    继续编辑行为树
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.4.1" data-path="../../quickstart/">
            
                <a href="../../quickstart/#创建共享变量">
            
                    
                    创建共享变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.4.2" data-path="../../quickstart/">
            
                <a href="../../quickstart/#改造旋转任务">
            
                    
                    改造旋转任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.4.3" data-path="../../quickstart/">
            
                <a href="../../quickstart/#完善行为树">
            
                    
                    完善行为树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.4.4" data-path="../../quickstart/">
            
                <a href="../../quickstart/#完善属性设置，解决错误">
            
                    
                    完善属性设置，解决错误
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.4.5" data-path="../../quickstart/">
            
                <a href="../../quickstart/#终极预览">
            
                    
                    终极预览
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.5" data-path="../../ui/">
            
                <a href="../../ui/">
            
                    
                    工具栏
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6" data-path="../">
            
                <a href="../">
            
                    
                    行为树组件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.1" data-path="../overview.html">
            
                <a href="../overview.html">
            
                    
                    概览
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.1.1" data-path="../overview.html">
            
                <a href="../overview.html#创建行为树">
            
                    
                    创建行为树
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.1.1.1" data-path="../overview.html">
            
                <a href="../overview.html#属性检查器中创建">
            
                    
                    属性检查器中创建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.1.1.2" data-path="../overview.html">
            
                <a href="../overview.html#脚本中动态创建">
            
                    
                    脚本中动态创建
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.6.1.2" data-path="../overview.html">
            
                <a href="../overview.html#销毁行为树">
            
                    
                    销毁行为树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.1.3" data-path="../overview.html">
            
                <a href="../overview.html#属性检查器">
            
                    
                    属性检查器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.1.4" data-path="../overview.html">
            
                <a href="../overview.html#其他">
            
                    
                    其他
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.6.2" data-path="./">
            
                <a href="./">
            
                    
                    自定义
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.2.1" data-path="btclass.html">
            
                <a href="btclass.html">
            
                    
                    类装饰器 btclass
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.2" data-path="btprop.html">
            
                <a href="btprop.html">
            
                    
                    属性装饰器 btprop
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.1.6.2.3" data-path="component.html">
            
                <a href="component.html">
            
                    
                    行为树组件 BehaviorTree
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.2.3.1" data-path="component.html">
            
                <a href="component.html#日志">
            
                    
                    日志
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.2" data-path="component.html">
            
                <a href="component.html#当前状态">
            
                    
                    当前状态
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.3" data-path="component.html">
            
                <a href="component.html#控制">
            
                    
                    控制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.4" data-path="component.html">
            
                <a href="component.html#任务节点">
            
                    
                    任务节点
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.5" data-path="component.html">
            
                <a href="component.html#数据共享">
            
                    
                    数据共享
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.6" data-path="component.html">
            
                <a href="component.html#事件系统">
            
                    
                    事件系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.7" data-path="component.html">
            
                <a href="component.html#生命周期">
            
                    
                    生命周期
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.8" data-path="component.html">
            
                <a href="component.html#cocoscreator-专有-api">
            
                    
                    CocosCreator 专有 API
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.2.3.8.1" data-path="component.html">
            
                <a href="component.html#资源文件">
            
                    
                    资源文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.8.2" data-path="component.html">
            
                <a href="component.html#cocoscreator2d">
            
                    
                    CocosCreator2D
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.2.3.8.2.1" data-path="component.html">
            
                <a href="component.html#ui-事件">
            
                    
                    UI 事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.8.2.2" data-path="component.html">
            
                <a href="component.html#碰撞检测">
            
                    
                    碰撞检测
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.6.3" data-path="../reference.html">
            
                <a href="../reference.html">
            
                    
                    引用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7" data-path="../../task/">
            
                <a href="../../task/">
            
                    
                    行为树任务
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.1" data-path="../../task/overview.html">
            
                <a href="../../task/overview.html">
            
                    
                    概览
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.1.1" data-path="../../task/overview.html">
            
                <a href="../../task/overview.html#创建任务">
            
                    
                    创建任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.1.2" data-path="../../task/overview.html">
            
                <a href="../../task/overview.html#删除任务">
            
                    
                    删除任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.1.3" data-path="../../task/overview.html">
            
                <a href="../../task/overview.html#连接任务">
            
                    
                    连接任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.1.4" data-path="../../task/overview.html">
            
                <a href="../../task/overview.html#断开任务">
            
                    
                    断开任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.1.5" data-path="../../task/overview.html">
            
                <a href="../../task/overview.html#属性检查器">
            
                    
                    属性检查器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.2" data-path="../../task/custom/">
            
                <a href="../../task/custom/">
            
                    
                    自定义
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.2.1" data-path="../../task/custom/btclass.html">
            
                <a href="../../task/custom/btclass.html">
            
                    
                    类装饰器 btclass
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.2" data-path="../../task/custom/btprop.html">
            
                <a href="../../task/custom/btprop.html">
            
                    
                    属性装饰器 btprop
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html">
            
                    
                    任务基类 Task
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.2.3.1" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html#日志">
            
                    
                    日志
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.2" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html#行为树">
            
                    
                    行为树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.3" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html#根任务">
            
                    
                    根任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.4" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html#父任务">
            
                    
                    父任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.5" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html#权值">
            
                    
                    权值
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.6" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html#状态">
            
                    
                    状态
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.7" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html#数据共享">
            
                    
                    数据共享
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.8" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html#事件系统">
            
                    
                    事件系统
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.2.3.8.1" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html#响应事件">
            
                    
                    响应事件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.9" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html#手动执行">
            
                    
                    手动执行
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.10" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html#生命周期">
            
                    
                    生命周期
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.2.3.10.1" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html#behaviortree-的生命周期">
            
                    
                    BehaviorTree 的生命周期
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.10.2" data-path="../../task/custom/task.html">
            
                <a href="../../task/custom/task.html#task-的生命周期">
            
                    
                    Task 的生命周期
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.4" data-path="../../task/custom/branchtask.html">
            
                <a href="../../task/custom/branchtask.html">
            
                    
                    分支任务 BranchTask
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.2.4.1" data-path="../../task/custom/branchtask.html">
            
                <a href="../../task/custom/branchtask.html#子任务">
            
                    
                    子任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.4.2" data-path="../../task/custom/branchtask.html">
            
                <a href="../../task/custom/branchtask.html#事件系统">
            
                    
                    事件系统
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.5" data-path="../../task/custom/leaftask.html">
            
                <a href="../../task/custom/leaftask.html">
            
                    
                    叶子任务 LeafTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.6" data-path="../../task/custom/actiontask.html">
            
                <a href="../../task/custom/actiontask.html">
            
                    
                    行动任务 ActionTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.7" data-path="../../task/custom/conditiontask.html">
            
                <a href="../../task/custom/conditiontask.html">
            
                    
                    条件任务 ConditionTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.8" data-path="../../task/custom/compositetask.html">
            
                <a href="../../task/custom/compositetask.html">
            
                    
                    组合任务 CompositeTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.9" data-path="../../task/custom/decoratortask.html">
            
                <a href="../../task/custom/decoratortask.html">
            
                    
                    装饰任务 DecoratorTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.10" data-path="../../task/custom/interceptertask.html">
            
                <a href="../../task/custom/interceptertask.html">
            
                    
                    拦截任务 IntercepterTask
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.3" data-path="../../task/abort.html">
            
                <a href="../../task/abort.html">
            
                    
                    打断机制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.3.1" data-path="../../task/abort.html">
            
                <a href="../../task/abort.html#拦截任务">
            
                    
                    拦截任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.3.2" data-path="../../task/abort.html">
            
                <a href="../../task/abort.html#条件中断">
            
                    
                    条件中断
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.3.2.1" data-path="../../task/abort.html">
            
                <a href="../../task/abort.html#self">
            
                    
                    SELF
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.3.2.2" data-path="../../task/abort.html">
            
                <a href="../../task/abort.html#lowerpriority">
            
                    
                    LOWER_PRIORITY
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.3.2.3" data-path="../../task/abort.html">
            
                <a href="../../task/abort.html#both">
            
                    
                    BOTH
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.3.3" data-path="../../task/abort.html">
            
                <a href="../../task/abort.html#重新评估分支">
            
                    
                    重新评估分支
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.4" data-path="../../task/reference.html">
            
                <a href="../../task/reference.html">
            
                    
                    引用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.5" data-path="../../task/asset.html">
            
                <a href="../../task/asset.html">
            
                    
                    加载资源
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6" data-path="../../task/builtin/">
            
                <a href="../../task/builtin/">
            
                    
                    内置
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html">
            
                    
                    行动任务 ActionTask
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.1" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#category-action">
            
                    
                    Action
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.1.1" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#idle">
            
                    
                    Idle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.1.2" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#wait">
            
                    
                    Wait
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.1.3" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#waitframes">
            
                    
                    WaitFrames
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.2" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#category-actionbehavior">
            
                    
                    Action/Behavior
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.2.1" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#setenabledbehavior">
            
                    
                    SetEnabledBehavior
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.2.2" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#setpausedbehavior">
            
                    
                    SetPausedBehavior
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.2.3" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#restartbehavior">
            
                    
                    RestartBehavior
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.2.4" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#terminatebehavior">
            
                    
                    TerminateBehavior
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.2.5" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#tickbehavior">
            
                    
                    TickBehavior
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.3" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#category-actionscene">
            
                    
                    Action/Scene
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.3.1" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#loadscene">
            
                    
                    LoadScene
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.3.2" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#setactive">
            
                    
                    SetActive
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.3.3" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#setenabled">
            
                    
                    SetEnabled
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.4" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#category-actiongame">
            
                    
                    Action/Game
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.4.1" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#pausegame">
            
                    
                    PauseGame
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.4.2" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#resumegame">
            
                    
                    ResumeGame
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.5" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#category-actioncollision">
            
                    
                    Action/Collision
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.5.1" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#setenabledcollider">
            
                    
                    SetEnabledCollider
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.6" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#category-actiontrigger">
            
                    
                    Action/Trigger
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.6.1" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#ctrlgate">
            
                    
                    CtrlGate
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.6.2" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#requestinterrupt">
            
                    
                    RequestInterrupt
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.7" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#category-actionevent">
            
                    
                    Action/Event
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.7.1" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#fireevent">
            
                    
                    FireEvent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.7.2" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#fireevents">
            
                    
                    FireEvents
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.7.3" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#emitevent">
            
                    
                    EmitEvent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.7.4" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#broadcastevent">
            
                    
                    BroadcastEvent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.7.5" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#broadcasteventex">
            
                    
                    BroadcastEventEx
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.7.6" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#waitforevent">
            
                    
                    WaitForEvent
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.8" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#category-actionoperator">
            
                    
                    Action/Operator
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.8.1" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#setnum">
            
                    
                    SetNum
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.8.2" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#setbool">
            
                    
                    SetBool
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.8.3" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#setstr">
            
                    
                    SetStr
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.9" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#category-actionmath">
            
                    
                    Action/Math
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.9.1" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#genrandom">
            
                    
                    GenRandom
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.10" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#category-actionblackboard">
            
                    
                    Action/Blackboard
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.10.1" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#bbdelkey">
            
                    
                    BbDelKey
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.10.2" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#bbclear">
            
                    
                    BbClear
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.10.3" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#bbwrite">
            
                    
                    BbWrite
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.10.4" data-path="../../task/builtin/actiontask.html">
            
                <a href="../../task/builtin/actiontask.html#bbread">
            
                    
                    BbRead
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html">
            
                    
                    条件任务 ConditionTask
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.1" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#category-conditionbehavior">
            
                    
                    Condition/Behavior
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.1.1" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#isbehaviorrunning">
            
                    
                    IsBehaviorRunning
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.2" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#category-conditionevent">
            
                    
                    Condition/Event
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.2.1" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#onevent">
            
                    
                    OnEvent
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.3" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#category-conditionsystem">
            
                    
                    Condition/System
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.3.1" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#iskeydown">
            
                    
                    IsKeyDown
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.4" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#category-conditionui">
            
                    
                    Condition/UI
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.4.1" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#onccevent">
            
                    
                    OnCCEvent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.4.2" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#onclick">
            
                    
                    OnClick
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.4.3" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#ontoggle">
            
                    
                    OnToggle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.4.4" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#oncheck">
            
                    
                    OnCheck
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.4.5" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#onuncheck">
            
                    
                    OnUnCheck
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.4.6" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#ischecked">
            
                    
                    IsChecked
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.5" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#category-conditioncollision">
            
                    
                    Condition/Collision
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.5.1" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#oncollisionenter">
            
                    
                    OnCollisionEnter
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.5.2" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#oncollisionstay">
            
                    
                    OnCollisionStay
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.5.3" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#oncollisionexit">
            
                    
                    OnCollisionExit
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.6" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#category-conditionoperator">
            
                    
                    Condition/Operator
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.6.1" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#cmpnum">
            
                    
                    CmpNum
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.6.2" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#cmpbool">
            
                    
                    CmpBool
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.6.3" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#cmpstr">
            
                    
                    CmpStr
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.7" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#category-conditionblackboard">
            
                    
                    Condition/Blackboard
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.7.1" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#bbhaskey">
            
                    
                    BbHasKey
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.7.2" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#bbcmpnum">
            
                    
                    BbCmpNum
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.7.3" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#bbcmpbool">
            
                    
                    BbCmpBool
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.7.4" data-path="../../task/builtin/conditiontask.html">
            
                <a href="../../task/builtin/conditiontask.html#bbcmpstr">
            
                    
                    BbCmpStr
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html">
            
                    
                    组合任务 CompositeTask
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.3.1" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#category-composite">
            
                    
                    Composite
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.3.1.1" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#sequence">
            
                    
                    Sequence
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.2" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#sequenceticker">
            
                    
                    SequenceTicker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.3" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#selector">
            
                    
                    Selector
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.4" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#revalcompositetask">
            
                    
                    RevalCompositeTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.5" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#revalsequence">
            
                    
                    RevalSequence
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.6" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#revalselector">
            
                    
                    RevalSelector
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.7" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#randomcompositetask">
            
                    
                    RandomCompositeTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.8" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#randomsequence">
            
                    
                    RandomSequence
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.9" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#randomselector">
            
                    
                    RandomSelector
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.10" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#randomticker">
            
                    
                    RandomTicker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.11" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#prioritycompositetask">
            
                    
                    PriorityCompositeTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.12" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#priorityticker">
            
                    
                    PriorityTicker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.13" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#parallelcompositetask">
            
                    
                    ParallelCompositeTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.14" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#parallel">
            
                    
                    Parallel
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.15" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#parallelselector">
            
                    
                    ParallelSelector
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.16" data-path="../../task/builtin/compositetask.html">
            
                <a href="../../task/builtin/compositetask.html#parallelcomplete">
            
                    
                    ParallelComplete
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html">
            
                    
                    装饰任务 DecoratorTask
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.4.1" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html#category-decorator">
            
                    
                    Decorator
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.4.1.1" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html#alwayssuccess">
            
                    
                    AlwaysSuccess
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.2" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html#alwaysfailure">
            
                    
                    AlwaysFailure
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.3" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html#alwaysrunning">
            
                    
                    AlwaysRunning
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.4" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html#untilsuccess">
            
                    
                    UntilSuccess
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.5" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html#untilfailure">
            
                    
                    UntilFailure
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.6" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html#failureuntilsuccess">
            
                    
                    FailureUntilSuccess
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.7" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html#successuntilfailure">
            
                    
                    SuccessUntilFailure
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.8" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html#inverter">
            
                    
                    Inverter
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.9" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html#repeater">
            
                    
                    Repeater
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.10" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html#framerepeater">
            
                    
                    FrameRepeater
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.11" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html#period">
            
                    
                    Period
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.12" data-path="../../task/builtin/decoratortask.html">
            
                <a href="../../task/builtin/decoratortask.html#withinframes">
            
                    
                    WithinFrames
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5" data-path="../../task/builtin/interceptertask.html">
            
                <a href="../../task/builtin/interceptertask.html">
            
                    
                    拦截任务 IntercepterTask
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.5.1" data-path="../../task/builtin/interceptertask.html">
            
                <a href="../../task/builtin/interceptertask.html#category-intercepter">
            
                    
                    Intercepter
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.5.1.1" data-path="../../task/builtin/interceptertask.html">
            
                <a href="../../task/builtin/interceptertask.html#precondition">
            
                    
                    PreCondition
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5.1.2" data-path="../../task/builtin/interceptertask.html">
            
                <a href="../../task/builtin/interceptertask.html#preconditions">
            
                    
                    PreConditions
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5.1.3" data-path="../../task/builtin/interceptertask.html">
            
                <a href="../../task/builtin/interceptertask.html#delay">
            
                    
                    Delay
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5.1.4" data-path="../../task/builtin/interceptertask.html">
            
                <a href="../../task/builtin/interceptertask.html#cooldown">
            
                    
                    Cooldown
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5.1.5" data-path="../../task/builtin/interceptertask.html">
            
                <a href="../../task/builtin/interceptertask.html#afterframes">
            
                    
                    AfterFrames
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5.1.6" data-path="../../task/builtin/interceptertask.html">
            
                <a href="../../task/builtin/interceptertask.html#gate">
            
                    
                    Gate
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5.1.7" data-path="../../task/builtin/interceptertask.html">
            
                <a href="../../task/builtin/interceptertask.html#interrupt">
            
                    
                    Interrupt
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.8" data-path="../../sharedvariable/">
            
                <a href="../../sharedvariable/">
            
                    
                    共享变量
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.8.1" data-path="../../sharedvariable/overview.html">
            
                <a href="../../sharedvariable/overview.html">
            
                    
                    概览
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.8.1.1" data-path="../../sharedvariable/overview.html">
            
                <a href="../../sharedvariable/overview.html#作用域">
            
                    
                    作用域
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.1.2" data-path="../../sharedvariable/overview.html">
            
                <a href="../../sharedvariable/overview.html#创建共享变量">
            
                    
                    创建共享变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.1.3" data-path="../../sharedvariable/overview.html">
            
                <a href="../../sharedvariable/overview.html#删除共享变量">
            
                    
                    删除共享变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.1.4" data-path="../../sharedvariable/overview.html">
            
                <a href="../../sharedvariable/overview.html#共享变量检查器">
            
                    
                    共享变量检查器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.8.2" data-path="../../sharedvariable/custom/">
            
                <a href="../../sharedvariable/custom/">
            
                    
                    自定义
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.8.2.1" data-path="../../sharedvariable/custom/btclass.html">
            
                <a href="../../sharedvariable/custom/btclass.html">
            
                    
                    类装饰器 btclass
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.2.2" data-path="../../sharedvariable/custom/btprop.html">
            
                <a href="../../sharedvariable/custom/btprop.html">
            
                    
                    属性装饰器 btprop
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.2.3" data-path="../../sharedvariable/custom/sharedvariable.html">
            
                <a href="../../sharedvariable/custom/sharedvariable.html">
            
                    
                    共享变量 SharedVariable
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.8.3" data-path="../../sharedvariable/reference.html">
            
                <a href="../../sharedvariable/reference.html">
            
                    
                    引用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html">
            
                    
                    内置
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.8.4.1" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedstring">
            
                    
                    SharedString
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.2" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedstringlist">
            
                    
                    SharedStringList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.3" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedboolean">
            
                    
                    SharedBoolean
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.4" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedbooleanlist">
            
                    
                    SharedBooleanList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.5" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharednumber">
            
                    
                    SharedNumber
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.6" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharednumberlist">
            
                    
                    SharedNumberList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.7" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccnode">
            
                    
                    SharedCCNode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.8" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccnodelist">
            
                    
                    SharedCCNodeList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.9" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedcccomponent">
            
                    
                    SharedCCComponent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.10" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedcccomponentlist">
            
                    
                    SharedCCComponentList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.11" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccvec2">
            
                    
                    SharedCCVec2
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.12" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccvec2list">
            
                    
                    SharedCCVec2List
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.13" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccvec3">
            
                    
                    SharedCCVec3
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.14" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccvec3list">
            
                    
                    SharedCCVec3List
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.15" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedcccolor">
            
                    
                    SharedCCColor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.16" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedcccolorlist">
            
                    
                    SharedCCColorList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.17" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedcccollider">
            
                    
                    SharedCCCollider
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.18" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedcccolliderlist">
            
                    
                    SharedCCColliderList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.19" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccevent">
            
                    
                    SharedCCEvent
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.9" data-path="../../common/blackboard.html">
            
                <a href="../../common/blackboard.html">
            
                    
                    黑板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.10" data-path="../../subtree/">
            
                <a href="../../subtree/">
            
                    
                    子树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.11" data-path="../../statemachine/">
            
                <a href="../../statemachine/">
            
                    
                    状态机
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.11.1" data-path="../../statemachine/">
            
                <a href="../../statemachine/#创建状态机">
            
                    
                    创建状态机
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.11.2" data-path="../../statemachine/">
            
                <a href="../../statemachine/#状态的执行（action）">
            
                    
                    状态的执行
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.11.3" data-path="../../statemachine/">
            
                <a href="../../statemachine/#状态的转换（transition）">
            
                    
                    状态的转换
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.11.3.1" data-path="../../statemachine/">
            
                <a href="../../statemachine/#转换测试的执行时机">
            
                    
                    转换测试的执行时机
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.11.3.2" data-path="../../statemachine/">
            
                <a href="../../statemachine/#无条件转换">
            
                    
                    无条件转换
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.11.4" data-path="../../statemachine/">
            
                <a href="../../statemachine/#无限循环">
            
                    
                    无限循环
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.11.5" data-path="../../statemachine/">
            
                <a href="../../statemachine/#预览">
            
                    
                    预览
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.12" data-path="../../debug/">
            
                <a href="../../debug/">
            
                    
                    调试
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.12.1" data-path="../../debug/error/">
            
                <a href="../../debug/error/">
            
                    
                    错误反馈
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.12.1.1" data-path="../../debug/error/behaviortree.html">
            
                <a href="../../debug/error/behaviortree.html">
            
                    
                    行为树组件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.12.1.2" data-path="../../debug/error/task.html">
            
                <a href="../../debug/error/task.html">
            
                    
                    行为树任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.12.1.3" data-path="../../debug/error/sharedvariable.html">
            
                <a href="../../debug/error/sharedvariable.html">
            
                    
                    共享变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.12.1.4" data-path="../../debug/error/circularreference.html">
            
                <a href="../../debug/error/circularreference.html">
            
                    
                    循环引用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.12.2" data-path="../../debug/preview.html">
            
                <a href="../../debug/preview.html">
            
                    
                    预览模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.13" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/">
            
                    
                    时间胶囊
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.13.1" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#场景列表">
            
                    
                    场景列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.2" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#行为树列表">
            
                    
                    行为树列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#时间胶囊列表">
            
                    
                    时间胶囊列表
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.13.3.1" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#行为树资源">
            
                    
                    行为树资源
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.2" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#保存时间戳">
            
                    
                    保存时间戳
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.3" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#还原时间戳">
            
                    
                    还原时间戳
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.4" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#删除时间胶囊">
            
                    
                    删除时间胶囊
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.5" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#复制、移动时间胶囊">
            
                    
                    复制、移动时间胶囊
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.6" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#重命名时间胶囊">
            
                    
                    重命名时间胶囊
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.7" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#导出时间胶囊">
            
                    
                    导出时间胶囊
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.8" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#导入时间胶囊">
            
                    
                    导入时间胶囊
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.9" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#复制行为树">
            
                    
                    复制行为树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.10" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#导出行为树">
            
                    
                    导出行为树
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../../.." >行为树组件 BehaviorTree</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="behaviortree">BehaviorTree</h1>
<hr>
<pre><code class="lang-typescript"><span class="hljs-comment">// bt.BehaviorTree.ts</span>
<span class="hljs-keyword">class</span> BehaviorTree extends cc.Component;
</code></pre>
<h2 id="api">API</h2>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x63CF;&#x8FF0;&#x884C;&#x4E3A;&#x6811;&#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 * @property &#x8BE5;&#x5C5E;&#x6027;&#x5728; CocosCreator &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> description: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x7684;&#x540D;&#x5B57;&#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 * @property &#x8BE5;&#x5C5E;&#x6027;&#x5728; CocosCreator &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> behaviorName: <span class="hljs-built_in">string</span>;
</code></pre>
<h3 id="&#x65E5;&#x5FD7;">&#x65E5;&#x5FD7;</h3>
<p>&#x63A8;&#x8350;&#x4F7F;&#x7528;&#x5185;&#x7F6E;&#x7684;&#x65E5;&#x5FD7;&#x5DE5;&#x5177;&#x6253;&#x5370;&#x65E5;&#x5FD7;&#x3002;&#x4ED6;&#x4F1A;&#x81EA;&#x52A8;&#x4E3A;&#x6D88;&#x606F;&#x6DFB;&#x52A0;&#x524D;&#x7F00;&#x6807;&#x7B7E;&#xFF0C;&#x65B9;&#x4FBF;&#x8C03;&#x8BD5;&#x3002;</p>
<blockquote>
<p>&#x6B64;&#x5904;&#x7684;&#x65E5;&#x5FD7;&#x5F00;&#x5173;&#x4E0E;&#x884C;&#x4E3A;&#x6811; <code>Task</code> &#x91CC;&#x7684;&#x65E5;&#x5FD7;&#x5F00;&#x5173;&#x662F;&#x76F8;&#x4E92;&#x72EC;&#x7ACB;&#x7684;&#x3002;&#x7EC4;&#x4EF6;&#x7684;&#x65E5;&#x5FD7;&#x5F00;&#x5173;&#xFF0C;&#x4E3B;&#x8981;&#x662F;&#x5728;&#x884C;&#x4E3A;&#x6811;&#x52A0;&#x8F7D;&#x9636;&#x6BB5;&#x6253;&#x5370;&#x8C03;&#x8BD5;&#x4FE1;&#x606F;&#x3002;</p>
</blockquote>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x901A;&#x8FC7; log.v/d/i/w/e(...args) &#x53EF;&#x4EE5;&#x5728;&#x63A7;&#x5236;&#x53F0;&#x8F93;&#x51FA;&#x683C;&#x5F0F;&#x4E3A;
 *
 *   [ behavior-dog ] [ &#x884C;&#x4E3A;&#x6811;&#x540D;&#x5B57;&lt;&#x884C;&#x4E3A;&#x6811;UUID&gt; ] ...args
 *
 * &#x7684;&#x65E5;&#x5FD7;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> readonly log: ILogger;

<span class="hljs-comment">/**
 * &#x65E5;&#x5FD7;&#x5F00;&#x5173;&#x53EA;&#x4F1A;&#x5F71;&#x54CD;&#x5230; log.v &#x3002;
 * &#x5F53;&#x65E5;&#x5FD7;&#x5173;&#x95ED;&#x65F6;&#xFF0C; log.v &#x4E0D;&#x4F1A;&#x8F93;&#x51FA;&#x65E5;&#x5FD7;&#xFF0C;&#x4F46; log.d log.i log.w &#x548C; log.e &#x80FD;&#x7167;&#x5E38;&#x8F93;&#x51FA;&#x3002;
 * 
 * &#x901A;&#x8FC7; log.VERBOSE &#x7684;&#x503C;&#x53EF;&#x4EE5;&#x5224;&#x65AD;&#x65E5;&#x5FD7;&#x5F00;&#x5173;&#x662F;&#x5426;&#x6253;&#x5F00;&#x3002;
 * 
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> enableLog: <span class="hljs-built_in">boolean</span>;
</code></pre>
<h3 id="&#x5F53;&#x524D;&#x72B6;&#x6001;">&#x5F53;&#x524D;&#x72B6;&#x6001;</h3>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x6267;&#x884C;&#x7ED3;&#x679C;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> readonly behaviorStatus: Status;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x662F;&#x5426;&#x6B63;&#x5728;&#x6267;&#x884C;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> readonly behaviorRunning: <span class="hljs-built_in">boolean</span>;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x662F;&#x5426;&#x6267;&#x884C;&#x5B8C;&#x6210;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> readonly behaviorCompleted: <span class="hljs-built_in">boolean</span>;

<span class="hljs-comment">/**
 * &#x4E0E;&#x4E0A;&#x4E00;&#x6B21; tick &#x7684;&#x65F6;&#x95F4;&#x95F4;&#x9694;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> readonly dt: <span class="hljs-built_in">number</span>;
</code></pre>
<h3 id="&#x63A7;&#x5236;">&#x63A7;&#x5236;</h3>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x6FC0;&#x6D3B;&#x884C;&#x4E3A;&#x6811;&#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; true &#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> behaviorEnabled: <span class="hljs-built_in">boolean</span>;

<span class="hljs-comment">/**
 * &#x6682;&#x505C;&#x884C;&#x4E3A;&#x6811;&#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; false &#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> behaviorPaused: <span class="hljs-built_in">boolean</span>;

<span class="hljs-comment">/**
 * &#x5F53;&#x884C;&#x4E3A;&#x6811;&#x88AB;&#x6FC0;&#x6D3B;&#x65F6;&#x6267;&#x884C;&#x884C;&#x4E3A;&#x6811;&#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; true &#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> startWhenEnable: <span class="hljs-built_in">boolean</span>;

<span class="hljs-comment">/**
 * &#x5F53;&#x884C;&#x4E3A;&#x6811;&#x88AB;&#x7981;&#x7528;&#x65F6;&#x6682;&#x505C;&#x884C;&#x4E3A;&#x6811;&#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; false &#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> pauseWhenDisable: <span class="hljs-built_in">boolean</span>;

<span class="hljs-comment">/**
 * &#x5F53;&#x884C;&#x4E3A;&#x6811;&#x7ED3;&#x675F;&#x65F6;&#x91CD;&#x65B0;&#x6267;&#x884C;&#x884C;&#x4E3A;&#x6811;&#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; false &#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> restartWhenComplete: <span class="hljs-built_in">boolean</span>;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x6267;&#x884C;&#x7684; 3 &#x79CD;&#x65B9;&#x5F0F;&#x3002;
 *    1. EVERY_FRAME     &#x6BCF;&#x5E27;&#x6267;&#x884C;
 *    2. FIXED_SECONDS   &#x56FA;&#x5B9A;&#x65F6;&#x95F4;&#x95F4;&#x9694;&#x6267;&#x884C;
 *    3. MANUAL          &#x624B;&#x52A8;&#x6267;&#x884C;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; EVERY_FRAME &#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> tickType: TickType;

<span class="hljs-comment">/**
 * &#x5F53;&#x884C;&#x4E3A;&#x6811;&#x7684;&#x6267;&#x884C;&#x65B9;&#x5F0F;&#x4E3A; TickType.FIXED_SECONDS &#x65F6;&#x751F;&#x6548;&#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> tickSeconds: <span class="hljs-built_in">number</span>;

<span class="hljs-comment">/**
 * &#x624B;&#x52A8;&#x6267;&#x884C;&#x884C;&#x4E3A;&#x6811;&#x3002;
 * &#x8FD4;&#x56DE;&#x6267;&#x884C;&#x7ED3;&#x679C;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> tick(): Status;

<span class="hljs-comment">/**
 * &#x624B;&#x52A8;&#x7EC8;&#x6B62;&#x884C;&#x4E3A;&#x6811;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> terminate(): <span class="hljs-built_in">void</span>;
</code></pre>
<h3 id="&#x4EFB;&#x52A1;&#x8282;&#x70B9;">&#x4EFB;&#x52A1;&#x8282;&#x70B9;</h3>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x904D;&#x5386;&#x6240;&#x6709;&#x4EFB;&#x52A1;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> walk(func: (task: ITask) =&gt; <span class="hljs-built_in">void</span>): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x8FD4;&#x56DE;&#x7B2C;&#x4E00;&#x4E2A;&#x6307;&#x5B9A;&#x7C7B;&#x578B;&#x7684;&#x4EFB;&#x52A1;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> getTask&lt;T extends ITask&gt;(<span class="hljs-keyword">type</span>: { <span class="hljs-keyword">new</span> (uuid: <span class="hljs-built_in">string</span>): T }): T;

<span class="hljs-comment">/**
 * &#x8FD4;&#x56DE;&#x6240;&#x6709;&#x6307;&#x5B9A;&#x7C7B;&#x578B;&#x7684;&#x4EFB;&#x52A1;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> getTasks&lt;T extends ITask&gt;(<span class="hljs-keyword">type</span>: { <span class="hljs-keyword">new</span> (uuid: <span class="hljs-built_in">string</span>): T }, out?: T[]): T[];

<span class="hljs-comment">/**
 * &#x8FD4;&#x56DE;&#x7B2C;&#x4E00;&#x4E2A;&#x901A;&#x8FC7;&#x6D4B;&#x8BD5;&#x7684;&#x4EFB;&#x52A1;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> getTaskBy(func: (task: ITask) =&gt; <span class="hljs-built_in">boolean</span>): ITask;

<span class="hljs-comment">/**
 * &#x8FD4;&#x56DE;&#x6240;&#x6709;&#x901A;&#x8FC7;&#x6D4B;&#x8BD5;&#x7684;&#x4EFB;&#x52A1;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> getTasksBy(func: (task: ITask) =&gt; <span class="hljs-built_in">boolean</span>, out?: ITask[]): ITask[];
</code></pre>
<h3 id="&#x6570;&#x636E;&#x5171;&#x4EAB;">&#x6570;&#x636E;&#x5171;&#x4EAB;</h3>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x672C;&#x5730;&#x9ED1;&#x677F;&#x3002;&#x4E00;&#x5757;&#x884C;&#x4E3A;&#x6811;&#x5185;&#x90E8;&#x4F7F;&#x7528;&#x7684;&#x9ED1;&#x677F;&#xFF0C;&#x53EF;&#x5728;&#x4EFB;&#x52A1;&#x4E4B;&#x95F4;&#x4F20;&#x9012;&#x6570;&#x636E;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> readonly blackboard: IBlackboard;

<span class="hljs-comment">/**
 * &#x5168;&#x5C40;&#x9ED1;&#x677F;&#x3002;&#x4E00;&#x5757;&#x5168;&#x5C40;&#x5171;&#x4EAB;&#x7684;&#x9ED1;&#x677F;&#xFF0C;&#x53EF;&#x5728;&#x573A;&#x666F;&#x4E4B;&#x95F4;&#x4F20;&#x9012;&#x6570;&#x636E;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> readonly globalboard: IBlackboard;
</code></pre>
<p>&#x5173;&#x4E8E;&#x9ED1;&#x677F;&#x7684;&#x63A5;&#x53E3;&#xFF0C;&#x8BF7;&#x770B; <a href="../../common/blackboard.html">&#x8FD9;&#x91CC;</a> &#x3002;</p>
<blockquote>
<p>&#x63A8;&#x8350;&#x4F7F;&#x7528;&#x53E6;&#x4E00;&#x79CD;&#x6570;&#x636E;&#x5171;&#x4EAB;&#x7684;&#x65B9;&#x5F0F; <a href="../../sharedvariable/">SharedVariable</a> &#x3002;</p>
<p>&#x4F46;&#x662F; <code>SharedVariable</code> &#x53EA;&#x652F;&#x6301; <code>tree</code> &#x548C; <code>scene</code> <code>2</code> &#x4E2A;&#x4F5C;&#x7528;&#x57DF;&#x3002;&#x4E5F;&#x5C31;&#x662F;&#x8BF4;&#xFF0C;&#x4ED6;&#x53EA;&#x80FD;&#x6700;&#x591A;&#x505A;&#x5230;&#x5728;&#x540C;&#x573A;&#x666F;&#x4E2D;&#x7684;&#x884C;&#x4E3A;&#x6811;&#x4E4B;&#x95F4;&#x5171;&#x4EAB;&#x6570;&#x636E;&#x3002;</p>
<p>&#x5982;&#x679C;&#x8981;&#x5728;&#x573A;&#x666F;&#x4E4B;&#x95F4;&#x4F20;&#x9012;&#x6570;&#x636E;&#xFF0C;&#x53EA;&#x80FD;&#x4F7F;&#x7528;&#x5168;&#x5C40;&#x9ED1;&#x677F; <code>globalboard</code> &#x3002;</p>
</blockquote>
<h3 id="&#x4E8B;&#x4EF6;&#x7CFB;&#x7EDF;">&#x4E8B;&#x4EF6;&#x7CFB;&#x7EDF;</h3>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5411;&#x884C;&#x4E3A;&#x6811;&#x5E7F;&#x64AD;&#x4E8B;&#x4EF6;&#x3002;
 * &#x6240;&#x6709;&#x4EFB;&#x52A1;&#x90FD;&#x53EF;&#x6536;&#x5230;&#x3002;
 * &#x652F;&#x6301;&#x6700;&#x591A;3&#x4E2A;&#x53C2;&#x6570;&#x3002;
 * &#x8BE6;&#x60C5;&#x8BF7;&#x53C2;&#x8003;&#x4EFB;&#x52A1;&#x4E8B;&#x4EF6;&#x7CFB;&#x7EDF;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> broadcast(<span class="hljs-keyword">type</span>: <span class="hljs-built_in">string</span>, arg1?: <span class="hljs-built_in">any</span>, arg2?: <span class="hljs-built_in">any</span>, arg3?: <span class="hljs-built_in">any</span>): <span class="hljs-built_in">void</span>;
</code></pre>
<h3 id="&#x751F;&#x547D;&#x5468;&#x671F;">&#x751F;&#x547D;&#x5468;&#x671F;</h3>
<p>&#x81EA;&#x5B9A;&#x4E49;&#x7EC4;&#x4EF6;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x5B9E;&#x73B0;&#x4E0B;&#x5217;&#x51FD;&#x6570;&#x6765;&#x76D1;&#x542C;&#x751F;&#x547D;&#x5468;&#x671F;&#x56DE;&#x8C03;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x52A0;&#x8F7D;&#x6210;&#x529F;&#x65F6;&#x8C03;&#x7528;&#x3002;
 * @param tree
 */</span>
<span class="hljs-keyword">public</span> onBehaviorLoaded?(tree: IBehaviorTree): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x52A0;&#x8F7D;&#x5931;&#x8D25;&#x65F6;&#x8C03;&#x7528;&#x3002;
 * @param tree
 * @param err
 */</span>
<span class="hljs-keyword">public</span> onBehaviorLoadError?(tree: IBehaviorTree, err: <span class="hljs-built_in">string</span>): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x9500;&#x6BC1;&#x65F6;&#x8C03;&#x7528;&#x3002;
 * @param tree
 */</span>
<span class="hljs-keyword">public</span> onBehaviorDestroy?(tree: IBehaviorTree): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x6FC0;&#x6D3B;&#x65F6;&#x8C03;&#x7528;&#x3002;
 * @param tree
 */</span>
<span class="hljs-keyword">public</span> onBehaviorEnable?(tree: IBehaviorTree): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x7981;&#x7528;&#x65F6;&#x8C03;&#x7528;&#x3002;
 * @param tree
 */</span>
<span class="hljs-keyword">public</span> onBehaviorDisable?(tree: IBehaviorTree): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x6682;&#x505C;&#x65F6;&#x8C03;&#x7528;&#x3002;
 * @param tree
 */</span>
<span class="hljs-keyword">public</span> onBehaviorPause?(tree: IBehaviorTree): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x6062;&#x590D;&#x6267;&#x884C;&#x65F6;&#x8C03;&#x7528;&#x3002;
 * @param tree
 */</span>
<span class="hljs-keyword">public</span> onBehaviorResume?(tree: IBehaviorTree): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x7B2C;&#x4E00;&#x6B21;&#x6267;&#x884C;&#x524D;&#x8C03;&#x7528;&#x3002;
 * @param tree
 */</span>
<span class="hljs-keyword">public</span> onBehaviorReady?(tree: IBehaviorTree): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x5F00;&#x59CB;&#x6267;&#x884C;&#x65F6;&#x8C03;&#x7528;&#x3002;
 * @param tree
 */</span>
<span class="hljs-keyword">public</span> onBehaviorStart?(tree: IBehaviorTree): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x91CD;&#x65B0;&#x5F00;&#x59CB;&#x6267;&#x884C;&#x65F6;&#x8C03;&#x7528;&#x3002;
 * @param tree
 */</span>
<span class="hljs-keyword">public</span> onBehaviorRestart?(tree: IBehaviorTree): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x6267;&#x884C;&#x7ED3;&#x675F;&#x65F6;&#x8C03;&#x7528;&#x3002;
 * @param tree
 */</span>
<span class="hljs-keyword">public</span> onBehaviorComplete?(tree: IBehaviorTree): <span class="hljs-built_in">void</span>;
</code></pre>
<h3 id="cocoscreator-&#x4E13;&#x6709;-api">CocosCreator &#x4E13;&#x6709; API</h3>
<p>CocosCreator &#x4E13;&#x6709; API &#x662F;&#x6307;&#x7EC4;&#x4EF6;&#x4E2D;&#x4F7F;&#x7528;&#x4E86; CocosCreator API &#x7684;&#x5C5E;&#x6027;&#x6216;&#x65B9;&#x6CD5;&#x3002;</p>
<h4 id="&#x8D44;&#x6E90;&#x6587;&#x4EF6;">&#x8D44;&#x6E90;&#x6587;&#x4EF6;</h4>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x884C;&#x4E3A;&#x6811;&#x7684; JSON &#x8D44;&#x6E90;&#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 * @property &#x8BE5;&#x5C5E;&#x6027;&#x5728; CocosCreator &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> asset: cc.JsonAsset;

<span class="hljs-comment">/**
 * &#x652F;&#x6301;&#x52A8;&#x6001;&#x52A0;&#x8F7D;&#x884C;&#x4E3A;&#x6811;&#x8D44;&#x6E90;&#x3002;
 * &#x5982;&#x679C;&#x5DF2;&#x6709;&#x8D44;&#x6E90;&#x88AB;&#x52A0;&#x8F7D;&#xFF0C;&#x8C03;&#x7528;&#x6B64;&#x65B9;&#x6CD5;&#x4F1A;&#x62A5;&#x9519;&#x3002;
 * @param asset
 */</span>
<span class="hljs-keyword">public</span> loadAsset(asset: cc.JsonAsset): <span class="hljs-built_in">void</span>;
</code></pre>
<h4 id="cocoscreator2d">CocosCreator2D</h4>
<h5 id="ui-&#x4E8B;&#x4EF6;">UI &#x4E8B;&#x4EF6;</h5>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x76D1;&#x542C; cc.Button &#x7684;&#x70B9;&#x51FB;&#x4E8B;&#x4EF6;&#x3002;
 * &#x4F7F;&#x7528;&#x65B9;&#x6CD5;&#x53C2;&#x8003; [&#x5B98;&#x65B9;&#x6587;&#x6863;](https://docs.cocos.com/creator/manual/zh/components/button.html#button-&#x70B9;&#x51FB;&#x4E8B;&#x4EF6;)
 *
 * &#x70B9;&#x51FB;&#x4E8B;&#x4EF6;&#x88AB;&#x89E6;&#x53D1;&#x540E;&#xFF0C;&#x7EC4;&#x4EF6;&#x4F1A;&#x5411;&#x5168;&#x4F53;&#x884C;&#x4E3A;&#x6811;&#x4EFB;&#x52A1;&#x5E7F;&#x64AD;&#x4E8B;&#x4EF6; &quot;click&quot; &#x3002;
 * &#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x6761;&#x4EF6;&#x4EFB;&#x52A1; OnClick &#x8FDB;&#x884C;&#x76D1;&#x542C;&#x3002;
 * 
 * &#x5728;&#x7ED9; cc.Button &#x6DFB;&#x52A0;&#x56DE;&#x8C03;&#x65F6;&#xFF0C;&#x53EF;&#x4EE5;&#x4F20;&#x5165;&#x4E00;&#x4E2A; string &#x7C7B;&#x578B;&#x7684; CustomEventData &#x3002;
 * &#x5982;&#x679C;&#x8BBE;&#x7F6E;&#x4E86; CustomEventData &#xFF0C;&#x5C06;&#x4F1A;&#x505A;&#x4E3A; onClick &#x56DE;&#x8C03;&#x7684;&#x7B2C;&#x4E8C;&#x4E2A;&#x53C2;&#x6570;&#x4F20;&#x5165;&#x3002;
 * @param event
 * @param data
 */</span>
<span class="hljs-keyword">public</span> onClick(event: cc.Event, data?: <span class="hljs-built_in">string</span>): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x76D1;&#x542C; cc.Toggle &#x7684;&#x70B9;&#x51FB;&#x4E8B;&#x4EF6;&#x3002;
 * &#x4F7F;&#x7528;&#x65B9;&#x6CD5;&#x53C2;&#x8003; [&#x5B98;&#x65B9;&#x6587;&#x6863;](https://docs.cocos.com/creator/manual/zh/components/toggle.html#toggle-&#x4E8B;&#x4EF6;)
 *
 * &#x70B9;&#x51FB;&#x4E8B;&#x4EF6;&#x88AB;&#x89E6;&#x53D1;&#x540E;&#xFF0C;&#x7EC4;&#x4EF6;&#x4F1A;&#x5411;&#x5168;&#x4F53;&#x884C;&#x4E3A;&#x6811;&#x4EFB;&#x52A1;&#x5E7F;&#x64AD;&#x4E8B;&#x4EF6; &quot;toggle&quot; &#x3002;
 * &#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x6761;&#x4EF6;&#x4EFB;&#x52A1; OnToggle &#x8FDB;&#x884C;&#x76D1;&#x542C;&#x3002;
 * 
 * &#x5728;&#x7ED9; cc.Toggle &#x6DFB;&#x52A0;&#x56DE;&#x8C03;&#x65F6;&#xFF0C;&#x53EF;&#x4EE5;&#x4F20;&#x5165;&#x4E00;&#x4E2A; string &#x7C7B;&#x578B;&#x7684; CustomEventData &#x3002;
 * &#x5982;&#x679C;&#x8BBE;&#x7F6E;&#x4E86; CustomEventData &#xFF0C;&#x5C06;&#x4F1A;&#x505A;&#x4E3A; onToggle &#x56DE;&#x8C03;&#x7684;&#x7B2C;&#x4E8C;&#x4E2A;&#x53C2;&#x6570;&#x4F20;&#x5165;&#x3002;
 * @param toggle
 * @param data
 */</span>
<span class="hljs-keyword">public</span> onToggle(toggle: cc.Toggle, data?: <span class="hljs-built_in">string</span>): <span class="hljs-built_in">void</span>;
</code></pre>
<p>&#x4E0B;&#x9762;&#x901A;&#x8FC7;&#x4E00;&#x4E2A;&#x4F8B;&#x5B50;&#x6765;&#x8BF4;&#x660E; UI &#x4E8B;&#x4EF6;&#x7684;&#x7528;&#x6CD5;&#xFF0C;</p>
<p>&#x5047;&#x8BBE;&#x573A;&#x666F;&#x4E2D;&#x6709;&#x4E00;&#x4E2A;&#x6309;&#x94AE;&#x8282;&#x70B9;&#xFF0C;&#x9009;&#x4E2D;&#x4ED6;&#xFF0C;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x5728; <code>CocosCreator</code> &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x770B;&#x5230;&#x6302;&#x8F7D;&#x7684; <code>cc.Button</code> &#x7EC4;&#x4EF6;&#x3002;</p>
<p>&#x5C06; <code>onClick</code> &#x51FD;&#x6570;&#x6DFB;&#x52A0;&#x5230; <code>cc.Button</code> &#x7EC4;&#x4EF6;&#x7684;&#x70B9;&#x51FB;&#x4E8B;&#x4EF6;&#x56DE;&#x8C03;&#x5217;&#x8868;&#x91CC;&#xFF0C;</p>
<p><img src="res/&#x6DFB;&#x52A0;&#x6309;&#x94AE;&#x4E8B;&#x4EF6;.png" alt="&#x56FE;&#x7247;&#x4E0D;&#x89C1;&#x4E86;&#xFF1F;&#xFF01;"></p>
<p>&#x8FD9;&#x6837;&#xFF0C;&#x5F53;&#x6309;&#x94AE;&#x88AB;&#x70B9;&#x51FB;&#x65F6;&#xFF0C;&#x884C;&#x4E3A;&#x6811;&#x5C31;&#x53EF;&#x4EE5;&#x54CD;&#x5E94;&#x4ED6;&#x4E86;&#x3002;</p>
<blockquote>
<p>[!Note]
<strong>&#x6CE8;&#x610F;</strong> &#x4F7F;&#x7528;&#x8FD9;&#x79CD;&#x65B9;&#x6CD5;&#x6355;&#x83B7;&#x7684; <code>UI</code> &#x4E8B;&#x4EF6;&#x4F1A;&#x5E7F;&#x64AD;&#x7ED9;&#x6240;&#x6709;&#x4EFB;&#x52A1;&#x3002;</p>
<p>&#x5982;&#x679C;&#x53EA;&#x9700;&#x8981;&#x67D0;&#x4E2A;&#x4EFB;&#x52A1;&#x5355;&#x72EC;&#x54CD;&#x5E94; <code>UI</code> &#x4E8B;&#x4EF6;&#xFF0C;&#x53EF;&#x4EE5;&#x53C2;&#x8003;&#x5185;&#x7F6E;&#x4EFB;&#x52A1;
<a href="../../task/built/conditiontask.md#onccevent">OnCCEvent</a> &#x3001;
<a href="../../task/built/conditiontask.md#onclick">OnClick</a> &#x3001;
<a href="../../task/built/conditiontask.md#ontoggle">OnToggle</a> &#x3002;</p>
</blockquote>
<h5 id="&#x78B0;&#x649E;&#x68C0;&#x6D4B;">&#x78B0;&#x649E;&#x68C0;&#x6D4B;</h5>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x4E00;&#x4E2A; cc.Collider &#x78B0;&#x649E;&#x5668;&#x3002;
 * &#x7531;&#x78B0;&#x649E;&#x68C0;&#x6D4B;&#x56DE;&#x8C03;&#x51FD;&#x6570;&#x5199;&#x5165;&#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> sharedColliderOther: SharedCCCollider;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x4E00;&#x4E2A; cc.Collider &#x78B0;&#x649E;&#x5668;&#x3002;
 * &#x7531;&#x78B0;&#x649E;&#x68C0;&#x6D4B;&#x56DE;&#x8C03;&#x51FD;&#x6570;&#x5199;&#x5165;&#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> sharedColliderSelf: SharedCCCollider;

<span class="hljs-comment">/**
 * &#x542F;&#x7528;&#x6216;&#x53D6;&#x6D88; &quot;onCollisionEnter&quot; &#x4E8B;&#x4EF6;&#x7684;&#x76D1;&#x542C;&#x3002;
 * &#x542F;&#x7528;&#x65F6;&#xFF0C;&#x7EC4;&#x4EF6;&#x5185;&#x90E8;&#x4F1A;&#x4E3A; onCollisionEnter &#x8FD9;&#x4E2A;&#x65B9;&#x6CD5;&#x8D4B;&#x503C;&#xFF0C;&#x4ED6;&#x53EA;&#x505A;&#x4E24;&#x4EF6;&#x4E8B;&#xFF1A;
 *     1. &#x628A; onCollisionEnter &#x4F20;&#x5165;&#x6765;&#x7684;&#x4E24;&#x4E2A;&#x53C2;&#x6570; { other&#xFF1A; cc.Collider } &#x548C;
 *        { self: cc.Collider } &#x5206;&#x522B;&#x5B58;&#x653E;&#x5230;&#x5171;&#x4EAB;&#x53D8;&#x91CF; sharedColliderOther &#x548C; 
 *        sharedColliderSelf &#x3002;
 *     2. &#x7136;&#x540E;&#x5E7F;&#x64AD;&#x4E8B;&#x4EF6; &quot;collision-enter&quot; &#x3002;
 *        &#x884C;&#x4E3A;&#x6811;&#x4E2D;&#x7684;&#x4EFB;&#x52A1;&#x53EF;&#x4EE5;&#x6355;&#x83B7;&#x8FD9;&#x4E2A;&#x4E8B;&#x4EF6;&#xFF0C;&#x6BD4;&#x5982;&#x4F7F;&#x7528;&#x5185;&#x7F6E;&#x6761;&#x4EF6;&#x4EFB;&#x52A1; OnCollisionEnter &#x3002;
 * &#x53D6;&#x6D88;&#x65F6;&#xFF0C;&#x7EC4;&#x4EF6;&#x5185;&#x90E8;&#x4F1A;&#x628A; onCollisionEnter &#x8FD9;&#x4E2A;&#x65B9;&#x6CD5;&#x8BBE;&#x4E3A; undefined.
 *     1. &#x8FD9;&#x6837;&#x884C;&#x4E3A;&#x6811;&#x4E2D;&#x7684;&#x4EFB;&#x52A1;&#x4E5F;&#x5C31;&#x76D1;&#x542C;&#x4E0D;&#x5230; &quot;collision-enter&quot; &#x4E8B;&#x4EF6;&#x4E86;&#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> collisionEnter: <span class="hljs-built_in">boolean</span>;

<span class="hljs-comment">/**
 * &#x542F;&#x7528;&#x6216;&#x53D6;&#x6D88; &quot;onCollisionStay&quot; &#x4E8B;&#x4EF6;&#x7684;&#x76D1;&#x542C;&#x3002;
 * &#x542F;&#x7528;&#x65F6;&#xFF0C;&#x7EC4;&#x4EF6;&#x5185;&#x90E8;&#x4F1A;&#x4E3A; onCollisionStay &#x8FD9;&#x4E2A;&#x65B9;&#x6CD5;&#x8D4B;&#x503C;&#xFF0C;&#x4ED6;&#x53EA;&#x505A;&#x4E24;&#x4EF6;&#x4E8B;&#xFF1A;
 *     1. &#x628A; onCollisionEnter &#x4F20;&#x5165;&#x6765;&#x7684;&#x4E24;&#x4E2A;&#x53C2;&#x6570; { other&#xFF1A; cc.Collider } &#x548C;
 *        { self: cc.Collider } &#x5206;&#x522B;&#x5B58;&#x653E;&#x5230;&#x5171;&#x4EAB;&#x53D8;&#x91CF; sharedColliderOther &#x548C; 
 *        sharedColliderSelf &#x3002;
 *     2. &#x7136;&#x540E;&#x5E7F;&#x64AD;&#x4E8B;&#x4EF6; &quot;collision-stay&quot; &#x3002;
 *        &#x884C;&#x4E3A;&#x6811;&#x4E2D;&#x7684;&#x4EFB;&#x52A1;&#x53EF;&#x4EE5;&#x6355;&#x83B7;&#x8FD9;&#x4E2A;&#x4E8B;&#x4EF6;&#xFF0C;&#x6BD4;&#x5982;&#x4F7F;&#x7528;&#x5185;&#x7F6E;&#x6761;&#x4EF6;&#x4EFB;&#x52A1; OnCollisionStay &#x3002;
 * &#x53D6;&#x6D88;&#x65F6;&#xFF0C;&#x7EC4;&#x4EF6;&#x5185;&#x90E8;&#x4F1A;&#x628A; onCollisionStay &#x8FD9;&#x4E2A;&#x65B9;&#x6CD5;&#x8BBE;&#x4E3A; undefined.
 *     1. &#x8FD9;&#x6837;&#x884C;&#x4E3A;&#x6811;&#x4E2D;&#x7684;&#x4EFB;&#x52A1;&#x4E5F;&#x5C31;&#x76D1;&#x542C;&#x4E0D;&#x5230; &quot;collision-stay&quot; &#x4E8B;&#x4EF6;&#x4E86;&#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> collisionStay: <span class="hljs-built_in">boolean</span>;

<span class="hljs-comment">/**
 * &#x542F;&#x7528;&#x6216;&#x53D6;&#x6D88; &quot;onCollisionExit&quot; &#x4E8B;&#x4EF6;&#x7684;&#x76D1;&#x542C;&#x3002;
 * &#x542F;&#x7528;&#x65F6;&#xFF0C;&#x7EC4;&#x4EF6;&#x5185;&#x90E8;&#x4F1A;&#x4E3A; onCollisionExit &#x8FD9;&#x4E2A;&#x65B9;&#x6CD5;&#x8D4B;&#x503C;&#xFF0C;&#x4ED6;&#x53EA;&#x505A;&#x4E24;&#x4EF6;&#x4E8B;&#xFF1A;
 *     1. &#x628A; onCollisionEnter &#x4F20;&#x5165;&#x6765;&#x7684;&#x4E24;&#x4E2A;&#x53C2;&#x6570; { other&#xFF1A; cc.Collider } &#x548C;
 *        { self: cc.Collider } &#x5206;&#x522B;&#x5B58;&#x653E;&#x5230;&#x5171;&#x4EAB;&#x53D8;&#x91CF; sharedColliderOther &#x548C; 
 *        sharedColliderSelf &#x3002;
 *     2. &#x7136;&#x540E;&#x5E7F;&#x64AD;&#x4E8B;&#x4EF6; &quot;collision-exit&quot; &#x3002;
 *        &#x884C;&#x4E3A;&#x6811;&#x4E2D;&#x7684;&#x4EFB;&#x52A1;&#x53EF;&#x4EE5;&#x6355;&#x83B7;&#x8FD9;&#x4E2A;&#x4E8B;&#x4EF6;&#xFF0C;&#x6BD4;&#x5982;&#x4F7F;&#x7528;&#x5185;&#x7F6E;&#x6761;&#x4EF6;&#x4EFB;&#x52A1; OnCollisionExit &#x3002;
 * &#x53D6;&#x6D88;&#x65F6;&#xFF0C;&#x7EC4;&#x4EF6;&#x5185;&#x90E8;&#x4F1A;&#x628A; onCollisionExit &#x8FD9;&#x4E2A;&#x65B9;&#x6CD5;&#x8BBE;&#x4E3A; undefined.
 *     1. &#x8FD9;&#x6837;&#x884C;&#x4E3A;&#x6811;&#x4E2D;&#x7684;&#x4EFB;&#x52A1;&#x4E5F;&#x5C31;&#x76D1;&#x542C;&#x4E0D;&#x5230; &quot;collision-exit&quot; &#x4E8B;&#x4EF6;&#x4E86;&#x3002;
 * @btprop &#x8BE5;&#x5C5E;&#x6027;&#x5728; behavior-dog &#x7684;&#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 * */</span>
<span class="hljs-keyword">public</span> collisionExit: <span class="hljs-built_in">boolean</span>;

<span class="hljs-comment">/**
 * &#x78B0;&#x649E;&#x4E8B;&#x4EF6;&#x7684;&#x56DE;&#x8C03;&#xFF0C;&#x7531; behavior-dog &#x5B9E;&#x73B0;&#x3002;
 * &#x5982;&#x679C;&#x4F60;&#x60F3;&#x81EA;&#x5DF1;&#x5B9E;&#x73B0;&#x8FD9;&#x4E2A;&#x65B9;&#x6CD5;&#xFF0C;&#x8BF7;&#x53C2;&#x8003;&#x5C5E;&#x6027; collisionEnter &#x7684;&#x8BF4;&#x660E;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> onCollisionEnter?(other: cc.Collider, self: cc.Collider): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x78B0;&#x649E;&#x4E8B;&#x4EF6;&#x7684;&#x56DE;&#x8C03;&#xFF0C;&#x7531; behavior-dog &#x5B9E;&#x73B0;&#x3002;
 * &#x5982;&#x679C;&#x4F60;&#x60F3;&#x81EA;&#x5DF1;&#x5B9E;&#x73B0;&#x8FD9;&#x4E2A;&#x65B9;&#x6CD5;&#xFF0C;&#x8BF7;&#x53C2;&#x8003;&#x5C5E;&#x6027; collisionStay &#x7684;&#x8BF4;&#x660E;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> onCollisionStay?(other: cc.Collider, self: cc.Collider): <span class="hljs-built_in">void</span>;

<span class="hljs-comment">/**
 * &#x78B0;&#x649E;&#x4E8B;&#x4EF6;&#x7684;&#x56DE;&#x8C03;&#xFF0C;&#x7531; behavior-dog &#x5B9E;&#x73B0;&#x3002;
 * &#x5982;&#x679C;&#x4F60;&#x60F3;&#x81EA;&#x5DF1;&#x5B9E;&#x73B0;&#x8FD9;&#x4E2A;&#x65B9;&#x6CD5;&#xFF0C;&#x8BF7;&#x53C2;&#x8003;&#x5C5E;&#x6027; collisionExit &#x7684;&#x8BF4;&#x660E;&#x3002;
 */</span>
<span class="hljs-keyword">public</span> onCollisionExit?(other: cc.Collider, self: cc.Collider): <span class="hljs-built_in">void</span>;
</code></pre>
<p>&#x4E0B;&#x9762;&#x4ECB;&#x7ECD;&#x5982;&#x4F55;&#x5F00;&#x542F;&#x7EC4;&#x4EF6;&#x7684;&#x78B0;&#x649E;&#x68C0;&#x6D4B;&#x56DE;&#x8C03;&#xFF0C;</p>
<p><img src="res/&#x78B0;&#x649E;&#x68C0;&#x6D4B;.png" alt="&#x56FE;&#x7247;&#x4E0D;&#x89C1;&#x4E86;&#xFF1F;&#xFF01;"></p>
<blockquote>
<p>[!Note]
<strong>&#x6CE8;&#x610F;</strong> &#x78B0;&#x649E;&#x68C0;&#x6D4B;&#x4E8B;&#x4EF6;&#x4F1A;&#x5E7F;&#x64AD;&#x7ED9;&#x6240;&#x6709;&#x4EFB;&#x52A1;&#x3002;</p>
<p>&#x76EE;&#x524D;&#x7248;&#x672C;&#x4E0D;&#x652F;&#x6301;&#x4EFB;&#x52A1;&#x5355;&#x72EC;&#x6355;&#x83B7;&#x8FD9;&#x4E2A;&#x4E8B;&#x4EF6;&#x3002;</p>
</blockquote>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="btprop.html" class="navigation navigation-prev " aria-label="Previous page: 属性装饰器 btprop">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="component.html#日志" class="navigation navigation-next " aria-label="Next page: 日志">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"行为树组件 BehaviorTree","level":"1.1.6.2.3","depth":4,"next":{"title":"日志","level":"1.1.6.2.3.1","depth":5,"anchor":"#日志","path":"ccc/behaviortree/custom/component.md","ref":"ccc/behaviortree/custom/component.md#日志","articles":[]},"previous":{"title":"属性装饰器 btprop","level":"1.1.6.2.2","depth":4,"path":"ccc/behaviortree/custom/btprop.md","ref":"ccc/behaviortree/custom/btprop.md","articles":[]},"dir":"ltr"},"config":{"plugins":["chapter-fold","splitter","flexible-alerts","back-to-top-button"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"chapter-fold":{},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"back-to-top-button":{},"flexible-alerts":{"danger":{"className":"danger","icon":"fa fa-ban","label":"Attention"},"note":{"className":"info","icon":"fa fa-info-circle","label":"Note"},"style":"callout","tip":{"className":"tip","icon":"fa fa-lightbulb-o","label":"Tip"},"warning":{"className":"warning","icon":"fa fa-exclamation-triangle","label":"Warning"}},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Zemin Liu","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"behavior-dog","language":"zh-hans","gitbook":"3.2.3","description":"CocosCreator 行为树编辑器"},"file":{"path":"ccc/behaviortree/custom/component.md","mtime":"2020-09-24T18:25:54.345Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-09-27T16:25:54.619Z"},"basePath":"../../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../../gitbook/gitbook.js"></script>
    <script src="../../../gitbook/theme.js"></script>
    
        
        <script src="../../../gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-flexible-alerts/plugin.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

